<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="no-cache">
<meta http-equiv="expires" content="-1">
<meta http-equiv="cache-control" content="no-cache">

<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jqueryui.js"></script>
<link type="text/css" href="css/jqueryui.css" rel="stylesheet" />

<!-- Script Part -->
<script type="text/javascript">

	$(document).ready(
			function() {
				
				// Tabs
				$('button')
				.button();

			});
	
	function test() {
		alert("2 parent" + window.parent.currentGameID);
		alert("2 parent username" + window.parent.document.getElementById("username").value);
	}
</script>


<!-- CSS Part -->
<style type="text/css">
</style>

</head>
<body>

<input type="button" onclick="test()" value="test"/>
<table width="800" border="0" align="center">
  <tr>
    <td width="800"><fieldset>
  <legend>Load Game:</legend>
    Select one game:
    <select name="gameList" id="gameList">
    </select>
      
      <button id="loadGameBtn">Load</button>
      <button id="publishGameBtn">Publish</button>
      <button id="revokeGameBtn">Revoke</button>

   <br />
    No Game? Create a new Game &gt;&gt;&gt;
          <button id="createGameBtn">Create</button> 
          <p><br>
            Designer: <span id="gameStatus"> -- </span></br>Game Status: <span id="gameStatus"> --</span></p></fieldset></td>
  </tr>
    <tr>
    <td><fieldset>
    <legend>Loaded Game Details:</legend>
    <p>Name:
  <input type="text" size="30" />
      Publish Title:
      <input type="text" size="30" />
      <br> 
    </p>
    <p>Publish Description:
      <label for="publishDescription"></label>
      <textarea name="publishDescription" cols="30" rows="3" id="publishDescription"></textarea>
Icon: <button id="gameIconBtn">Pick</button>Not picked yet</p>
 
      <p>Internal Description:
        <label for="internalDescription"></label>
        <textarea name="internalDescription" id="internalDescription" cols="30" rows="3"></textarea>
Game Cover: <button id="gameCoverBtn">Pick</button>
Not picked yet<br>
        </p>
      <p>Introduction Script:
        <label for="introduction"></label>
        <textarea name="introduction" id="introduction" cols="30" rows="3"></textarea>
        End Script:
        <label for="ending"></label>
        <textarea name="ending" id="ending" cols="30" rows="3"></textarea>
        <br>
    </p>
    </fieldset></td>
  </tr>
</table>

</body>
</html>